package com.zwu.service.impl;

import com.zwu.Mapper.TipMapper;
import com.zwu.pojo.Tip;
import com.zwu.service.TipService;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
@Service
public class TipServiceImpl implements TipService {
    @Autowired
    TipMapper tipMapper;
    @Override
    public Tip findSuccess() {
        return tipMapper.findSuccess();
    }

    @Override
    public void update(Tip tip) {
        tipMapper.update(tip);
    }

    @Override
    public Tip findFail() {
        return tipMapper.findFail();
    }
}
